package com.cl.pile.rule.func;

import com.alibaba.fastjson.JSONObject;
import com.cl.pile.rule.process.RuleMatcher;

import java.util.List;

/**
 * @author chenyitao
 * @date 2021/6/8
 */
public interface IFunc {
    Object func(List<Object> data);

    Object func(List<Object> data, String rootVar, Object root, JSONObject ruleJson, RuleMatcher ruleMatcher);

    String funcName();
}
